import axios from 'axios';

export interface ListRecord {
  id?: number;
  type?: string;
  title?: string;
  subTitle?: string;
  avatar?: string;
  content?: string;
  time?: string;
  status?: 0 | 1;
  messageType?: number;
}
export type listType = ListRecord[];

export function queryList() {
  return axios.post<listType>('/api/column/list');
}